ResPropSetStr(SELF,"InputText",StrFormatStr(MangleSIDToStr(71/*"You have %d %ss of fuel in your truck. Your tank can hold a total of %d %ss."*/), (fuel_remaining / 1000), fuel_name, (fuel_capacity / 1000), fuel_name));
}
};
},
GuiAnimation("line") {
AnimationID = "gui/dash/tab/line/line.pcx";
Y = 48;
X = 45;
},
GuiTextInput("no_gas_message") {
X = 55;
Y = 74;
Width = 180;
Height = 45;
WordWrap = TRUE;
InputDisabled = TRUE;
FontID = "font/tab_w_on_g.tf";
ScriptID = Script {
@animate {
resid Player;
resid Game;
Game = ResByName("Game");
Player = ResPropGetResID(ResByName("Game"),"game_cur_player");
/* if there is no gas station here or the tank is full set the other things to Hidden */